package com.heima.api.behavior;

import com.heima.model.behavior.dtos.Behavior;
import com.heima.model.behavior.dtos.LikesBehaviorDto;
import com.heima.model.behavior.dtos.ReadBehaviorDto;
import org.apache.ibatis.annotations.Param;
import org.omg.PortableInterceptor.INACTIVE;
import com.heima.model.behavior.dtos.UnlikesBehaviorDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("leadnews-behavior")
public interface BehaviorClient {

    @PostMapping("/api/v1/is_likes")
    Boolean isLikes(@RequestBody LikesBehaviorDto dto);

    @PostMapping("/api/v1/is_unlikes")
    Boolean isUnlikes(@RequestBody UnlikesBehaviorDto dto);



}
